package com.yhy.wxzn.wcs.device.rgv.bean;

public class LockNode<T> extends Coord {
    /**
     * 占用者
     */
    private T lockedBy;

    private int unLockTime;

    public LockNode(Coord sourceNode, T lockedBy) {
        super(sourceNode);
        this.lockedBy = lockedBy;
    }

    public T getLockedBy() {
        return lockedBy;
    }

    public void setLockedBy(T lockedBy) {
        this.lockedBy = lockedBy;
    }

    public int getUnLockTime() {
        return unLockTime;
    }

    public void setUnLockTime(int unLockTime) {
        this.unLockTime = unLockTime;
    }

}
